#ifndef MASTER_INTERNAL_CMD_H_
#define MASTER_INTERNAL_CMD_H_
#include "server_conf.h"

C_CODE_BEGIN


/*
 * The command function prototype should be same as area in structure
 * struct master_command in file master.h
 */


int _cmd_add_notification_slave( struct master*  , struct kv_element*  );
const char* _cmd_add_notification_slave_name();

int _cmd_load_slave( struct master*  , struct kv_element*  );
const char* _cmd_load_slave_name();


int _cmd_add_thread( struct master*  , struct kv_element*  );
const char* _cmd_add_thread_name();

int _cmd_shutdown_master( struct master*  , struct kv_element*  );
const char* _cmd_shutdown_master_name();

int _cmd_message_chain( struct master* , struct kv_element*  );
const char* _cmd_message_chain_name();



C_CODE_END


#endif //MASTER_INTERNAL_CMD_H_